package cn.xutongxue.interview.common;

import cn.xutongxue.interview.constants.CommonConstant;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author Administrator
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PageRequest implements Serializable {

    private static final long serialVersionUID = 2621723039091154747L;
    private Integer current = 1;
    private Integer pageSize = 20;
    private String sortField;
    private String sortOrder = CommonConstant.SORT_ORDER_ASC;
}
